.duanzi{
    width: 90%;
    margin: 20px auto;
}

.duanzi ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    list-style: none;
}

.duanzi ul li{
    width: 300px;
    height: 240px;
    margin: 20px;
    border: 1px dashed rgb(213, 213, 224);
}

.duanzi ul li:hover{
    cursor: pointer;
    background: rgb(241, 236, 236);
}

.duanzi ul li h1{
    text-align: center;
}

.duanzi ul li p{
    line-height: 25px;
    text-indent: 30px;
}

.duanzi .model{
    position: fixed;
    top: 20%;
    left: 40%;
    width: 400px;
    border: 5px solid gold;
    background: white;
}

.duanzi .model h1{
    text-align: center;
}


.duanzi .model h2{
    float: right;
}

.duanzi .model h2:hover{
    cursor: pointer;
}

.duanzi .bg{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}